#ifndef VSSERVER_H
#define VSSERVER_H

#include <QTcpServer>
class VSSocket;
class VSServer : public QTcpServer
{
    Q_OBJECT
public:
    explicit VSServer(QObject *parent = 0);
private:
	void incomingConnection(int handle);
	VSSocket *socket;
signals:
	void ready();
	void sendMsg(QString);
	void disCon();
private slots:
	void onReady();
	void onDisCon();
	void onmsg(QString);

};

#endif // VSSERVER_H
